home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000087_icon-group-sender _Mon Apr 5 13:21:54 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  3KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id NAA02091
  4.     for icon-group-addresses; Mon, 5 Apr 1999 13:21:46 -0700 (MST)
  5. Message-Id: <199904052021.NAA02091@baskerville.CS.Arizona.EDU>
  6. Date: Mon, 05 Apr 1999 13:35:24 -0500
  7. From: David Starner <dstarner98@aasaa.ofe.org>
  8. X-Accept-Language: en
  9. To: Mark Evans <evans@gte.net>
  10. CC: Icon List <icon-group@optima.CS.Arizona.EDU>
  11. Subject: Re: Ccon and Icon-based Compilers
  12. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  13. Status: RO
  14.  
  15. Mark Evans wrote:
  16. > The Jcon effort involved a Java translator plus a runtime system in Java.  My
  17. > question is whether anyone has ideas about the same concept for the C/C++
  18. > language.  Let's call it "Ccon."  That is, a runtime system (library/classes),
  19. > plus a translator to turn Icon into C/C++ targeted for that runtime system.
  20. > I remember something called "iconc" but it seems to have fallen into disfavor,
  21. > is not being upgraded, all attention is now on Unicon, etc., etc.
  22. Wouldn't it be easier to upgrade iconc than start over?
  23. > Another idea for which I would like to solicit opinions is writing a
  24. > machine-code compiler in the Icon language directly.  Good?  Bad?  Ugly?  
  25. Ugly. Very ugly. 
  26.  
  27. > What
  28. > about using a GNU compiler and then Icon code as the front end and/or back end.
  29. > Any advantages?
  30. It automatically* handles many systems and has great optimizing
  31. routines. Much more work has gone into the GBE (GCC Back End) than you
  32. could ever find time to put into your backend. 
  33.  
  34. OTOH, you will have to write it in C because to do otherwise would force
  35. you to cross-compiler first to each system (which is evil) and will make
  36. extra work for EGCS people. You should work with the EGCS people to make
  37. it a part of EGCS, so that it gets updated to new versions of the GNU
  38. compiler and builds easily. Working with the EGCS people would also
  39. imply assigning copyright of any code used in the compiler to the FSF,
  40. although they would probably waive that if you chose to use parts of
  41. Icont in it.
  42.  
  43. *Coroutines. I don't think that the GBE will handle coroutines without
  44. some extension, which may have to be especially added for each computer.
  45.  
  46. > Believe Evolution?  Save this block as FAITH.HTM and open with your browser.
  47. This would be much better as small block with a couple URL's than an
  48. ugly piece of HTML.
  49.  
  50. -- 
  51. David Starner - OSU student - dstarner98@aasaa.ofe.org
  52. If you want a real optimist, look up Ray Bradbury. Guy's nuts. 
  53. He actually likes people. -David Brin
  54.